home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1999 October
/
PCWorld_1999-10_cd1.bin
/
Software
/
Servis
/
X-setup
/
_SETUP.1
/
XQ FileCache Settings.xpl
< prev
next >
Wrap
Text File
|
1999-06-14
|
1KB
|
60 lines
"FILE"="Xteq Systems X-Setup Plugin 5.0"
"TYPE"="2"
"COUNT"="2"
"UIPATH"="System\File System\Options"
"NAME"="Windows 95 File Cache"
"VERSION"="1.31"
"LANGUAGE"="VBScript"
"TEXT 1"="Min. Cache (K)"
"TEXT 2"="Max. Cache (K)"
"DESCRIPTION 1"="If you want to control Windows how much RAM it should use for the file cache, enter the desired values here."
"DESCRIPTION 2"="Note: These settings have no effect if you are using Windows NT or Windows 98."
"DESCRIPTION 3"=""
"AUTHOR"="Xteq Systems"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@xteq.com."
sf="SYSTEM.INI"
ss="vCache"
v1="MinFileCache"
v2="MaxFileCache"
Sub Plugin_Initialize
if GetWinVer=2 or GetWinVer=3 then
Disable
else
i=IniReadValue(sf,ss,v1)
SetUIElement 1,i
i=IniReadValue(sf,ss,v2)
SetUIElement 2,i
end if
End Sub
Sub Plugin_CheckData(ElementIndex)
End Sub
Sub Plugin_Apply(ElementIndex,ElementSubIndex)
i=GetUIElement(1)
if len(i)=0 then
Call IniWriteValue(sf,ss,v1,"")
else
Call IniWriteValue(sf,ss,v1,i)
end if
i=GetUIElement(2)
if len(i)=0 then
Call IniWriteValue(sf,ss,v2,"")
else
Call IniWriteValue(sf,ss,v2,i)
end if
Restart
End Sub
Sub Plugin_Terminate
End Sub